package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.WorkReport;
import com.youlai.boot.factory.model.form.WorkReportForm;

/**
 * 报工单对象转换器
 *
 * @author youlaitech
 * @since 2025-10-13 13:30
 */
@Mapper(componentModel = "spring")
public interface WorkReportConverter{

    WorkReportForm toForm(WorkReport entity);

    WorkReport toEntity(WorkReportForm formData);
}